<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{padding:0; margin:0;}
        .box{
            width:1000px; height:132px;
            background: pink;
            /* text-align: center; */
        }
        img{
            /* display: block;  
            margin: 0 auto; */
            vertical-align: top;
        }

        /*  
        总结：
            text-align:center; 内联元素  内联块元素
            margin:0 auto; 块元素
        */
    </style>
</head>
<body>
    <div class="box">
        <img src="images/luo.jpg" alt="">
        <span>你好帅啊</span>
    </div>
</body>
</html>